package com._520it.crm.service;

import com._520it.crm.domain.Employee;
import com._520it.crm.page.PageResult;
import com._520it.crm.query.EmployeeQueryObject;

import java.util.List;

/**
 * @描述:
 * @作者:瓜
 * @create 2020/11/4
 */
public interface IEmployeeService {
    int deleteByPrimaryKey(Long id);
    int insert(Employee record);
    Employee selectByPrimaryKey(Long id);
    List<Employee> selectAll();
    int updateByPrimaryKey(Employee record);
    Employee getEmployeeServiceFindLogin(String username,String password);
    PageResult queryForPage(EmployeeQueryObject qo);

    void updateState(Long id);
}
